package  
{
	import flash.display.Sprite;
	import flash.events.Event;
	import me.xplabs.AppFacade;
	
	/**
	 * http://www.xplabs.me/
	 * @author xiaohan
	 */
	[SWF(width = "700", height = "600", frameRate = "30", backgroundColor = "0x000000")]
	public class Main extends Sprite 
	{
		
		public function Main() 
		{
			if (stage) init();
			else addEventListener(Event.ADDED_TO_STAGE, init);
		}
		
		private function init(e:Event = null):void 
		{
			removeEventListener(Event.ADDED_TO_STAGE, init);
			// entry points
			AppFacade.getInstance().startup(this);
			
			
			
		}
	}

}